class CreateVotes < ActiveRecord::Migration
  def self.up
    create_table :votes do |t|
      t.integer :plus_votes, :default => 1
      t.integer :minus_votes, :default => 2
      t.integer :perc, :default => 500000
      t.integer :tag_id
      t.integer :image_fact_id

      t.timestamps
    end
  end

  def self.down
    drop_table :votes
  end
end
